﻿function resetGridHeight(grid) {
    grid.setHeight($(".l-layout-center").height() - $("#maingrid").position().top - 30);
}